<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=118.195.236.171;dbname=tiantianai',
            'username' => 'tiantianai',
            'password' => 'EXFTT8XKw7ad2amK',
            'charset' => 'utf8mb4',
        ],
        'db_yyb' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=123.57.128.124;dbname=yingyangbao',
            'username' => 'root',
            'password' => 'hpp911031',
            'charset' => 'utf8mb4',
        ],
        'db_np' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=123.57.128.124;dbname=db_np',
            'username' => 'root',
            'password' => 'hpp911031',
            'charset' => 'utf8',
        ],
        'db_yisu' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'sqlsrv:Server=103.156.68.127;Database=TianTianAi',
            'username' => 'ttaonlyread',
            'password' => 'T@3w%f#F*5K',
            'charset' => 'utf8',
        ],
        'db_yisu2' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'sqlsrv:Server=103.156.68.127;Database=TianTianAi',
            'username' => 'ttahanpeng',
            'password' => 'Hpp@911031',
            'charset' => 'utf8',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            'useFileTransport' => true,
        ],
    ],
];
